<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>xgraduate</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : November 1993</div>
    <p>
      <b>xgraduate</b> -  axis graduation</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[xi,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(xmi,xma)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>xmi,xma</b>
        </tt>: real scalars</li>
      <li>
        <tt>
          <b>xi, xa, kMinr, kMaxr, ar</b>
        </tt>:real scalars</li>
      <li>
        <tt>
          <b>np1,np2</b>
        </tt>: integer</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>xgraduate</b>
      </tt> returns the axis graduations which are used by the plot
    routines (with pretty print flag enabled). It returns an interval <tt>
        <b>[xi,xa]</b>
      </tt> which contains the
    given interval <tt>
        <b>[xmi,xma]</b>
      </tt> and such that</p>
    <p>
      <tt>
        <b>xi= kMinr*10^ar</b>
      </tt>, <tt>
        <b>xa=kMaxr*10^ar</b>
      </tt> and the interval can 
    be divided into <tt>
        <b>np2</b>
      </tt> intervals and each interval is divided in
    <tt>
        <b>np1</b>
      </tt> sub-intervals.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

  [x1,xa,np1,np2,kMinr,kMaxr,ar]=xgraduate(-0.3,0.2)
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="graduate.htm">
        <tt>
          <b>graduate</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="plot2d.htm">
        <tt>
          <b>plot2d</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
    <h3>
      <font color="blue">Author</font>
    </h3>
    <p>J.P.C ; ;   </p>
  </body>
</html>
